package com.plant.college.feign;

import com.plant.college.domain.Physician;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("plant-physician")
public interface PhysicianFeign {

    @GetMapping("physician/findAll")
    public List<Physician> findAll();
}
